{% extends "layout/basic.html" %}
{% block content %}
<div class="row" data-sticky-parent>
  <div class="medium-9 columns">
  {% block badge_content %}{% endblock %}
  </div>
  <div class="medium-3 columns"><div data-sticky="large">
    <div class="section side">
      <ol class="menu">
        <li class="menu__item">
          <div class="menu__link expandable">
            <span class="icon icon-crown"></span> {{ _('徽章管理') }}
          </div>
          <ol class="menu collapsed">
            <li class="menu__item" id="menu-item-badge_show">
            <li class="menu__item" id="menu-item-badge_show">
            <a class="menu__link{% if page_name == '展示徽章' %} active{% endif %}" href="{{ url('badge_show') }}">
              {{ _('展示徽章') }}
            </a>
            </li>
            <a class="menu__link{% if page_name == '我的徽章' %} active{% endif %}" href="{{ url('badge_mybadge') }}">
              {{ _('我的徽章') }}
            </a>
            </li>
            <li class="menu__item" id="menu-item-badge_manage">
            <a class="menu__link{% if page_name == '管理徽章' %} active{% endif %}" href="{{ url('badge_manage') }}">
              {{ _('管理徽章') }}
            </a>
            </li>
          </ol>
        </li>
      </ol>
    </div>
  </div></div>
</div>
{% endblock %}
